package com.atguigu.eduservice.client;

import com.atguigu.commonutils.vo.commentVo.CommentMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @create: 2022/10/11
 * @Description:
 * @FileName: UcenterClient
 * @自定义内容：
 */
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    //根据token获取用户信息
    @GetMapping("/educenter/BackEnd/getMemberInfo/{memberId}")
    public CommentMemberVo getMemberInfo(@PathVariable String memberId);
}
